package com.stx.day0918;

/**
 * packageName com.stx.day0918
 *
 * @author YangYi
 * @className AliPayment
 * @date 2025/9/18
 * @description TODO
 */
public class AliPayment extends Payment{
    public AliPayment(double amount,String orderId) {
        super(amount,orderId);
        System.out.println("WechatPayment 构造函数");
    }

    public String queryOrderInfo(double amount,String orderId){
        return  "支付宝支付记录：该订单号："+orderId+"已经完成支付金额："+amount;
    }
}
